package com.zero.logistics.pojo;
/*
 *	@date:2020年3月31日 上午8:45:30
 *	@author:Zero
 *	@version:Future
 *	@description: 
 *
 */
public class MessageObject {

	private Integer code;  //状态码：0-->失败，1-->成功
	private String msg;
	
	public static MessageObject createMo(Integer code, String msg) {
		MessageObject mo = new MessageObject();
		mo.setCode(code);
		mo.setMsg(msg);
		return mo;
	}
	
	public Integer getCode() {
		return code;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
}
